package com.lx.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("bz_menu")
public class MenuVo {
    @TableId(value = "menu_id",type = IdType.AUTO)
    private Integer menuId;
    private String name;
    private String url;//菜单URL
    @TableField(exist = false)
    private List<com.lx.bean.Menu> sonMenu;//二级菜单
}